package com.blb.service;

import com.blb.entity.LaserPrinter;
import com.baomidou.mybatisplus.extension.service.IService;
import com.blb.entity.PrinterDept;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author tb
 * @since 2020-05-20
 */
public interface ILaserPrinterService extends IService<LaserPrinter> {

    List<PrinterDept> Ilist(Integer start, Integer length,String companyId);

    List<PrinterDept> search(String lpNum,String companyId);

    /**
     * 查看打印机编号是否存在
     * @param lpNo
     * @return
     */
    int checkLpNo(String lpNo);

    /**
     * 查询总数
     * @param companyId
     * @return
     */
    int getCount(String companyId);
}
